#include <stdio.h>

int main() {
	int x, n, s ;
	//	while (x < 100)
	for (x = 2; x < 100; x++) {
		for (n = 2; n <= x; n++) {
			s = 1;
			if (x % n == 0 && n != x) {
				s = 0;
				break;
			}
		}
		if (s == 1) {
			printf("%d\n", x);
		}
		//		x++;
	}

	return 0;
}